package cn.edu.nuc.ssm.service;

import cn.edu.nuc.ssm.entity.BbsSection;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/4/20.
 */
public interface BbsSectionService {

    List<String> findSectionType();

    List<BbsSection> findbySectionType(String sectionType);

    List<String> findAllSectionType();

    List<BbsSection> find();

    BbsSection findbyId(Integer id);

    void count(int id);

    void updateSelective(BbsSection bbsSection);

    List<BbsSection> findbySname(@Param("sname")String sname);

    int add(BbsSection bbsSection);

    int delete(Integer id);
}
